export const fields = {
    5: [
        {
            name: "subName",
            label: "分包工程名称(部位)",
            required: true,
            type: "input",
        },
        {
            name: "subQuantity",
            label: "分包工程量",
            required: false,
            type: "input",
        },
        {
            name: "subFee",
            label: "分包工程合同额(元)",
            required: false,
            type: "input",
            props: {
                type: "number",
            },
        },
    ],
    14: [
        {
            name: "subName",
            label: "姓名",
            required: true,
            type: "input",
        },
        {
            name: "spec",
            label: "性别",
            required: false,
            type: "select",
            props: {
                optionsName: "options", //option字段
            },
        },
        {
            name: "subQuantity",
            label: "学历",
            required: false,
            type: "input",
        },
        {
            name: "unitType",
            label: "职务",
            required: false,
            type: "input",
        },
        {
            name: "inDate",
            type: "date",
            label: "出生日期",
            props: {
                format: "YYYY-MM-DD",
            },
            required: false,
        },
        {
            name: "techComm",
            label: "专业",
            required: false,
            type: "input",
        },
        {
            name: "useArea",
            label: "专业年限",
            required: false,
            type: "input",
        },
        {
            name: "remark",
            label: "备注",
            required: false,
            type: "input",
        },
        {
            name: "supervision",
            label: "专业监理意见",
            required: false,
            type: "input",
            disabled: "!pactCode.pactCode2",
        },
    ],
    12: [
        {
            name: "subName",
            label: "机械设备名称 *",
            required: true,
            type: "input",
        },
        {
            name: "qty",
            label: "数量",
            required: false,
            type: "input",
            props: {
                type: "number", //option字段
            },
        },
        {
            name: "subQuantity",
            label: "规格型号",
            required: false,
            type: "input",
            // disabled: "!pactCode.pactCode1",
        },
        {
            name: "spec",
            label: "技术状况",
            required: false,
            type: "input",
            // disabled: "!pactCode.pactCode1",
        },
        {
            name: "useArea",
            label: "使用工点",
            required: false,
            type: "input",
            // disabled: "!pactCode.pactCode1",
        },
        {
            name: "inDate",
            type: "date",
            label: "进场日期",
            props: {
                format: "YYYY-MM-DD",
            },
            required: false,
            // disabled: "!pactCode.pactCode1",
        },
        {
            name: "remark",
            label: "备注",
            required: false,
            type: "input",
            // disabled: "!pactCode.pactCode1",
        },
        {
            name: "supervision",
            label: "专业监理意见",
            required: false,
            type: "input",
            disabled: "!pactCode.pactCode2",
        },
    ],
};
